using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using ProgramMain.Accounting;
using DevExpress.XtraEditors;

using ProgramMain.PhoneTariffPlans;
using ProgramMain.InetTariffPlans;
using ProgramMain.Clients;
using ProgramMain.Framework;

namespace ProgramMain.Operators
{
    public partial class OperatorDetailCtl : BaseDetailCtl
    {
        public OperatorDetailCtl()
        {
            InitializeComponent();
        }

        private void OperatorDetailCtl_DetailIDChanged(object sender, EventArgs e)
        {
            operatorPropertiesCtl1.DetailID = this.DetailID;
            operatorContractListCtl1.DetailID = this.DetailID;
        }

        private void operatorContractListCtl1_ViewRowIDChanged(object sender, ShowDetailEventArgs e)
        {
            operatorResourceHardwareListCtl1.DetailID = e.DetailID;
            universalTariffEditorCtl1.DetailID = e.DetailID;
            phoneBillingSummaryListCtl1.DetailID = e.DetailID;
            operatorCallList1.DetailID = e.DetailID;
        }
    }
}
